package com.iLoo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iLoo.cache.RedisCache;
import com.iLoo.entity.Emp;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
@CacheNamespace(implementation = RedisCache.class)
public interface EmpMapper extends BaseMapper<Emp> {

    List<Emp> findAll();
}
